mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 03:23:59 -07:00
random_string: replace random.SystemRandom() with secrets.SystemRandom() (#10893)
* random_string: replace random.SystemRandom() with secrets.SystemRandom() Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> * add the forgotten blank line Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> * Update changelogs/fragments/replace-random-with-secrets.yml Co-authored-by: Felix Fontein <felix@fontein.de> * readd the description Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> * Update changelogs/fragments/replace-random-with-secrets.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
68b8345199
commit
14a858fd9c
2 changed files with 7 additions and 2 deletions
4
changelogs/fragments/replace-random-with-secrets.yml
Normal file
4
changelogs/fragments/replace-random-with-secrets.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
bugfixes:
|
||||
- random_string lookup plugin - replace ``random.SystemRandom()`` with ``secrets.SystemRandom()`` when
|
||||
generating strings. This has no practical effect, as both are the same
|
||||
(https://github.com/ansible-collections/community.general/pull/10893).
|
Loading…
Add table
Add a link
Reference in a new issue