Files
Adrian Jarvis 420503a373 Replace the random library with secrets in oauth1
The module keystone.oauth1.backends.sql was using the random library to
generate the verifier of a request token.  The bandit security scanner
tool from version 1.8.4 onwards identifies the use random.sample as a
low security issue, despite random actually being an alias to
random.SystemRandom(). This change replaces the use of random library
with the secrets library and avoids the use of shadowing random.

Change-Id: I1a0ecd80a44eae6032e985091032aa91ee5c81a5
Signed-off-by: Adrian Jarvis <adrian.jarvis@catalystcloud.nz>
2025-09-18 17:01:23 +12:00
..
2024-10-30 19:11:22 +00:00
2024-07-22 09:02:23 +02:00
2024-10-30 19:11:22 +00:00