CHANGES
CHANGES
0.4.0
-----
- merge functionality of key_creator and key_files into keys module,
simplify and refactor.
- refactor KeyPath
- initialize / create encryption_keys in constructor of Keys class.
- load keys before import_models from AppConfig
- set Keys instance in keys module and import from there instead of
from AppConfig.
- name global Keys instance 'encryption_keys'.
- change settings.KEY_PATH to settings.DJANGO_CRYPTO_FIELDS_KEY_PATH.
(settings.KEY_PATH will still work)
- change settings.AUTO_CREATE_KEYS to
settings.DJANGO_CRYPTO_FIELDS_AUTO_CREATE.
(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
------
- update testing matrix to include DJ50. Drop DJ41.
0.3.9
-----
- add minor migration to add locale fields thru django-audit-fields
0.3.8
-----
- drop support for python < 3.11
- add minor migration triggered by django-audit-fields
0.3.7
-----
- minor: util to get list of encrypted field classes from a model or instance
0.3.6
-----
- minor: setup
0.3.5
-----
- minor: util to detect encrypted fields in a model
0.3.4
-----
- remove `pycryptodome` and require `pycryptodomex`. Update import references.
- drop support for py < 3.8, DJ<3.2
- run tests for py 3.8, 3.9, 3.10 and django 3,2, 4.0, 4.1
- add precommit to config
0.3.0
-----
- add to gh-actions
- run tests for py 3.7, 3.8,3.9 and django 3.0,3.1
0.1.28
------
- improve ability to locate test keys if DEBUG=True
2019-03-03
----------
- switch from pycrypto to pycryotpdome