mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Comments pointing the way towards substituting cryptography for pycrypto
This commit is contained in:
parent
560e1633dc
commit
6e107d2f22
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,8 @@ import sys
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
# TODO: not needed if we use the cryptography library with its default RNG
|
||||||
|
# engine
|
||||||
HAS_ATFORK=True
|
HAS_ATFORK=True
|
||||||
try:
|
try:
|
||||||
from Crypto.Random import atfork
|
from Crypto.Random import atfork
|
||||||
|
|
|
@ -27,6 +27,8 @@ import sys
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
# TODO: not needed if we use the cryptography library with its default RNG
|
||||||
|
# engine
|
||||||
HAS_ATFORK=True
|
HAS_ATFORK=True
|
||||||
try:
|
try:
|
||||||
from Crypto.Random import atfork
|
from Crypto.Random import atfork
|
||||||
|
|
Loading…
Reference in a new issue