From 74034f6c97f2b587e4f87bc362d8a7f1804aba53 Mon Sep 17 00:00:00 2001 From: Richard Shea Date: Sat, 20 Apr 2024 22:33:50 +1200 Subject: [PATCH] Update settings.rst This PR attempts to reflect what appears to be the current circumstances, as described in https://github.com/georgemarshall/django-cryptography/issues/56. --- docs/settings.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index d00818d..10af412 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -18,8 +18,7 @@ The digest algorithm to use for signing and key generation. Default: :obj:`None` -When value is :obj:`None` a key will be derived from -``SECRET_KEY``. Otherwise the value will be used for the key. +This value should not be used, instead the key will be derived from ``SECRET_KEY``. Due to this depedency please consider whether, and how, the ``SECRET_KEY`` might change after encryption has taken place. :const:`CRYPTOGRAPHY_SALT` --------------------------