mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-27 12:14:39 +00:00
51a7f636b0
The implementation of `random.choice()` uses the Mersenne Twister, the output of which is predictable by observing previous output, and is as such unsuitable for security-sensitive applications. A cryptographically secure pseudorandom number generator - which the `secrets` module relies on - should be used instead in those instances.