[PATCH] Use secrets and fall back to random.SystemRandom for keys
Daniel Axtens
dja at axtens.net
Thu Oct 10 09:32:13 AEDT 2019
> diff --git a/releasenotes/notes/use-secrets-and-fall-back-to-random.SystemRandom-for-keys-9ceb496919a1bb6f.yaml b/releasenotes/notes/use-secrets-and-fall-back-to-random.SystemRandom-for-keys-9ceb496919a1bb6f.yaml
> new file mode 100644
> index 0000000..7b101cb
> --- /dev/null
> +++ b/releasenotes/notes/use-secrets-and-fall-back-to-random.SystemRandom-for-keys-9ceb496919a1bb6f.yaml
> @@ -0,0 +1,5 @@
> +---
> +security:
> + - |
> + Change the recommended method for generating the Django secret key to use a
> + cryptographically secure random number generator.
Oh, while I remember, I think I've had trouble with the security:
section before. Have you been able to verify that this shows up in the
docs? (I build mine with `docker-compose run web tox -e docs`)
Regards,
Daniel
> --
> 2.21.0
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
More information about the Patchwork
mailing list