🕊️ Adds import after install
This commit is contained in:
@@ -28,6 +28,9 @@ try:
|
|||||||
from cryptography.hazmat.primitives import serialization
|
from cryptography.hazmat.primitives import serialization
|
||||||
except ImportError:
|
except ImportError:
|
||||||
env.Execute("$PYTHONEXE -m pip install cryptography")
|
env.Execute("$PYTHONEXE -m pip install cryptography")
|
||||||
|
from cryptography import x509
|
||||||
|
from cryptography.hazmat.backends import default_backend
|
||||||
|
from cryptography.hazmat.primitives import serialization
|
||||||
|
|
||||||
|
|
||||||
ca_bundle_bin_file = 'x509_crt_bundle.bin'
|
ca_bundle_bin_file = 'x509_crt_bundle.bin'
|
||||||
|
|||||||
Reference in New Issue
Block a user