mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07: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…
Add table
Add a link
Reference in a new issue